package com.vm.osm.business.service.impl;

import com.vm.osm.business.entity.OsmProblemBase;
import com.vm.osm.business.service.IOsmProblemBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chenzui on 2018/4/13.
 */
@Service
public class OsmProblemBaseServiceImpl implements IOsmProblemBaseService {

    @Autowired
    private IOsmProblemBaseService osmProblemBaseService;


    @Override
    public int deleteByPrimaryKey(String id) {
        return osmProblemBaseService.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(OsmProblemBase record) {
        return osmProblemBaseService.insert(record);
    }

    @Override
    public int insertSelective(OsmProblemBase record) {
        return osmProblemBaseService.insertSelective(record);
    }

    @Override
    public OsmProblemBase selectByPrimaryKey(String id) {
        return osmProblemBaseService.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(OsmProblemBase record) {
        return osmProblemBaseService.updateByPrimaryKey(record);
    }

    @Override
    public int updateByPrimaryKey(OsmProblemBase record) {
        return osmProblemBaseService.updateByPrimaryKeySelective(record);
    }
}
